﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Social_Photos
{
    public class UrlConfig
    {
  
         //public static string SERVER_HOST = "trung-msft.dyndns.org";
        //  public static string SERVER_HOST = "192.168.1.199";
        // public static string SERVER_HOST = "127.0.0.1:81";
        public static string SERVER_HOST = "localhost:6202";
        public static string SERVER_CONTEXT_PATH = "/SocialPhotos";
        public static string SERVER_SERVICE_NAME = "/PhotoCloud.svc";

        public static string SERVICE_URI_STRING = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + SERVER_SERVICE_NAME;

        public static string GET_THUMBNAIL = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + "/Thumbnail.ashx?f=";
        public static string UPLOAD_PHOTO = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + "/Upload.ashx";
        public static string GET_URL_PHOTO = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + "/Upload.ashx?f=";
       
        public static string RANDOM_SERVICE_STRING = "/getRandomPhotos?number=9";
        public static string ALL_PHOTOS_SERVICE_STRING = "/Photos";
        public static string PHOTOS_BY_USER_ID_SERVICE_STRING = "/getPhotosByUserId?id=";
        public static string LIKE_SERVICE_STRING = "/like?id=";
        public static string DISLIKE_SERVICE_STRING = "/dislike?id=";
        public static string LOGIN_SERVICE_STRING = "/login?";
        public static string POST_COMMENT = "/postComment?";
        public static string GET_TOP_LIKE = "/getTopLike";
        public static string SIGN_UP = "/signUp";
        public static string GET_COMMENTS_OF_PHOTO = "/getCommentsOfAPhoto?";
        
    }
}
